As reported by @nxhack at https://github.com/openwrt/odhcp6c/issues/131,
allow_slaac_only was assigned an incorrect default value when it was moved
from odhcp6c.c to config.c.
Fixes: 1048fc4fb622 ("reconfigure: move all configuration functions to a new file")
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
config_dhcp.ia_na_mode = IA_MODE_TRY;
config_dhcp.ia_pd_mode = IA_MODE_NONE;
config_dhcp.client_options = DHCPV6_CLIENT_FQDN | DHCPV6_ACCEPT_RECONFIGURE;
- config_dhcp.allow_slaac_only = -1;
+ config_dhcp.allow_slaac_only = 0;
config_dhcp.oro_user_cnt = 0;
memset(config_dhcp.message_rtx, 0, sizeof(config_dhcp.message_rtx));
config_dhcp.message_rtx[CONFIG_DHCP_SOLICIT].delay_max = DHCPV6_MAX_DELAY;